package com.itheima.tliasmanagement.service;

import com.itheima.tliasmanagement.dto.AddDeptDto;
import com.itheima.tliasmanagement.dto.UpdateDeptDto;
import com.itheima.tliasmanagement.entity.Dept;
import com.itheima.tliasmanagement.vo.DeptVo;

import java.util.List;

public interface DeptService {

    List<DeptVo> depts();

    void deleteById(Integer id);

    void addDept(AddDeptDto dto);

    Dept getById(Integer id);

    void updateDept(UpdateDeptDto dto);
}
